package cn.yy.cloudpay.db;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.Date;

/**
 * Created by Administrator on 2017/8/13 0013.
 */
@Table(name = "track",  onCreated = "CREATE UNIQUE INDEX realative_unique ON track(id)")
public class RecordModel {
    @Column(name = "id",isId = true,autoGen = true)
    private Long id;   // 记录ID
    @Column(name = "orderid")
    private String orderid;
    @Column(name = "amount")
    private String amount;
    @Column(name = "state")
    private String state;
    @Column(name = "operator_type")
    private Integer operator_type;
    @Column(name = "create_time")
    private Date create_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getOperator_type() {
        return operator_type;
    }

    public void setOperator_type(Integer operator_type) {
        this.operator_type = operator_type;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }
}
